package site.anxuan.seckill.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import site.anxuan.seckill.entity.User;

@Mapper
@Repository
public interface UserDao {

    User selectByPhone(@Param("phone") String phone);

    void insert(User user);

}
